projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f66e2c8
)
ppc4xx: PPC405EP Set EMAC noise filter bits
author
Markus Brunner
<
[email protected]
>
Thu, 27 Mar 2008 09:46:25 +0000
(10:46 +0100)
committer
Stefan Roese
<
[email protected]
>
Thu, 27 Mar 2008 09:47:28 +0000
(10:47 +0100)
This bug was introduced with commit
aee747f19b460a0e9da20ff21e90fdaac1cec359
which enabled CFG_4xx_GPIO_TABLE for PPC405 and unintentionally
disabled the setting of the emac noise filter bits for PPC405EP when CFG_4xx_GPIO_TABLE is set.
Signed-off-by: Markus Brunner <
[email protected]
>
Signed-off-by: Stefan Roese <
[email protected]
>
cpu/ppc4xx/cpu_init.c
patch
|
blob
|
history
diff --git
a/cpu/ppc4xx/cpu_init.c
b/cpu/ppc4xx/cpu_init.c
index b35f1f089628023d16c3232cd15c86c793646502..42eabfe568a5b6b0d48a5ebb8eb9bf435dcfe1f3 100644
(file)
--- a/
cpu/ppc4xx/cpu_init.c
+++ b/
cpu/ppc4xx/cpu_init.c
@@
-233,6
+233,7
@@
cpu_init_f (void)
#if defined (CFG_GPIO0_TCR)
out32(GPIO0_TCR, CFG_GPIO0_TCR); /* enable output driver for outputs */
#endif
+#endif /* CONFIG_405EP ... && !CFG_4xx_GPIO_TABLE */
#if defined (CONFIG_405EP)
/*
@@
-245,7
+246,6
@@
cpu_init_f (void)
*/
mtdcr(cpc0_pci, mfdcr(cpc0_pci) | CPC0_PCI_HOST_CFG_EN | CPC0_PCI_ARBIT_EN);
#endif /* CONFIG_405EP */
-#endif /* CONFIG_405EP */
#if defined(CFG_4xx_GPIO_TABLE)
gpio_set_chip_configuration();